def writeFile():
    f=open("d:\\azmt.txt","wt")
    f.write("xba\nxyz")
    f.close()

def readFile():
    f=open("d:\\azmt.txt","rt")
    goon=1
    st=""
    while goon==1:
        s=f.read(1)
        if s!="":
            st=st+s
        else:
            goon=0
    f.close()
    print(st)